package com.zkthink.ceres.member.dao;

import com.zkthink.base.mapper.SuperMapper;
import com.zkthink.ceres.member.dto.MemberAuthenticationPageDTO;
import com.zkthink.ceres.member.entity.MemberAuthentication;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MemberAuthenticationMapper extends SuperMapper<MemberAuthentication> {

    Integer selectMemberAuthenticationCount(MemberAuthenticationPageDTO dto);

    List<MemberAuthentication> selectMemberAuthentication(MemberAuthenticationPageDTO dto);

    MemberAuthentication searchMemberAuthenticationByMid(@Param("mid") Long mid);

    List<Long> selectByType(@Param("type") Integer type);

}
